//
//  SearchDistinationReusableView.m
//  HeartTravel
//
//  Created by dlios on 15-6-30.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "SearchDistinationReusableView.h"

@implementation SearchDistinationReusableView

- (void)dealloc{

    [_titleLabel release];
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.titleLabel = [[UILabel alloc]init];
        self.titleLabel.textColor = [UIColor colorWithRed:50/255.0 green:170 /255.0 blue:190/255.0 alpha:1];
        [self addSubview:self.headerLabel];
        [self addSubview:self.footerLabel];
        [self addSubview:self.titleLabel];
        [self.titleLabel release];
    }
    return  self;
}

- (void)layoutSubviews{
    self.titleLabel.frame = CGRectMake(5, 0, self.frame.size.width-10, 70);

}

@end
